package ins.yan.framework.model;

public class Page {

	public static final int DEFAULT_INDEX = 1;
	public static final int DEFAULT_SIZE = 10;
	/**
	 * 当前页面里的记录数目
	 */
	private int size = 10;//目前先写死
	
	/**
	 * 记录总数
	 */
	private long totalPage;
	
	/**
	 * 当前页码
	 */
	private int index = 1;

	public int getSize() {
		return size;
	}

	public void setSize(int size) {
		this.size = size;
	}

	public long getTotalPage() {
		return totalPage;
	}

	public void setTotalPage(long totalPage) {
		this.totalPage = totalPage;
	}

	public int getIndex() {
		return index;
	}

	public void setIndex(int index) {
		this.index = index;
	}
	
}
